const path = require('path')
const fs = require('fs')
 
const sockModulePath = path.join(__dirname, 'node_modules/sockjs-client/dist/sockjs.js')
const sockLibPath = path.join(__dirname, 'lib/sockjs-client/dist/sockjs.js')
 
fs.writeFileSync(sockModulePath, fs.readFileSync(sockLibPath))